package com.example.learnandroidprofiler;

import android.os.Bundle;
import android.widget.ImageView;

import androidx.appcompat.app.AppCompatActivity;

import com.bumptech.glide.Glide;

public class NetworkProfilerActivity extends AppCompatActivity {

    private ImageView testIv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_network_profiler);
        findView();
        initView();
        initData();
    }

    private void findView() {
        testIv = findViewById(R.id.activity_network_profiler_iv);
    }

    private void initView() {
        getSupportActionBar().setTitle(getResources().getString(R.string.activity_net_profiler_title));
    }

    private void initData() {
//        Glide.with(this).load("http://imglf3.nosdn0.126.net/img/T2xtRUpvNXdwUVFSa2pHRzRMQjQyUWh5Tm9EUVNiK2lsNzVJVGRmZFBmbHlVOW0xaGd1L2hBPT0.jpg?imageView&thumbnail=1280x0&quality=96&stripmeta=0&type=jpg").into(testIv);
        Glide.with(this).load("http://imglf3.nosdn0.126.net/img/T2xtRUpvNXdwUVFSa2pHRzRMQjQyUWh5Tm9EUV.jpg?imageView&thumbnail=1280x0&quality=96&stripmeta=0&type=jpg").into(testIv);
    }
}
